package com.pug.feign;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class ProductServiceFeignFallback implements ProductServiceFeign {

    @Override
    public boolean deduct(Long productId, Integer count) {
        log.error("Product服务 - 兜底方案进来了.....");
        return false;
    }
}
